def f(n):
    if n<=1:
        return n
    else:
        return f(n-1)+f(n-2)

n = 0
list1 = []
while f(n)<=10:
    list1.append(f(n))
    n+=1
print(list1)






